Repository navigation
fix(fleet-smoke): update three stale smoke expectations (#10995) - #11314
Merged
Merged
Conversation
- secrets-broker /health answers 503 serving=false until a refresh succeeds (#10868); the hermetic smoke world has no bws, so assert that body instead of curl -f success. - repo-queue health now switches to the GitHub fallback by default (#6741, exit 6); assert the switch, and keep the exit-3 broker check under REPO_QUEUE_NO_FALLBACK_SWITCH=1. - proxy-raw-splice now sits between proxy-serve and queue-broker in the capability list; fix the queue=false substring. Refs #10995 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before:
fleet-smokefails on every main run with 90 passed, 3 failed. The secrets-broker health check, the repo-queue broker check, and thequeue=falseversion check all fail.After: the three checks match how fleet behaves today, so the suite can report 0 failed.
Refs #10995. This PR covers the smoke-suite half. The static musl fixture flake from the issue's first run is #10996.
How:
/health: since secrets-broker: live-but-broken instance (stripped PATH, cannot spawn bws) is never replaced by init-ensure liveness check #10868, the broker answers 503 withserving: falseuntil a refresh succeeds. The smoke world has nobws, so it never loads. The check now callscurl -sand asserts"serving":falseinstead of usingcurl -f.REPO_QUEUE_NO_FALLBACK_SWITCH=1, the operator escape hatch.queue=falseversion:proxy-raw-splicenow sits betweenproxy-serveandqueue-broker, so the expected substring isproxy-raw-splice, queue-broker.FULL_CAPSalready had this order.Testing:
bash -n pkgs/fleet/smoke.shand.github/scripts/check-fleet-smoke.test.shpass. Nix isn't available in this sandbox, so afleet-smokeworkflow_dispatch run on this branch is the end-to-end check.Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.